import { defineConfig } from 'vite';

import { resolve } from 'path';

// https://vitejs.dev/config/
export default defineConfig( {
    plugins: [

    ],
    resolve: {
        alias: {
            "@": resolve( __dirname, './src' ),
            "cannon-es": resolve( __dirname, './src/lib/cannon-es/cannon-es.js' ),
            "cannon-es-debugger": resolve( __dirname, './src/lib/cannon-es/cannon-es-debugger.js' ),
            "stats": resolve( __dirname, "./node_modules/three/examples/jsm/libs/stats.module.js" ),
        }
    },
    server: {
        port: 5173
    }
} );
